<?php /* Smarty version Smarty-3.1.8, created on 2019-07-16 20:15:28
         compiled from "/Users/aron/GitRepos/PHPBroShop/broshop/admin/views/default/comment/index.html" */ ?>
<?php /*%%SmartyHeaderCode:20838729065d2dbfe02f0b23-83862188%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '949dfcd227efca81b6e72d290999a2b5aa78535b' => 
    array (
      0 => '/Users/aron/GitRepos/PHPBroShop/broshop/admin/views/default/comment/index.html',
      1 => 1450315308,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '20838729065d2dbfe02f0b23-83862188',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'title' => 0,
    'data' => 0,
    'v' => 0,
    'root' => 0,
    'url' => 0,
    'fpage' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5d2dbfe03e97e9_27278791',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5d2dbfe03e97e9_27278791')) {function content_5d2dbfe03e97e9_27278791($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include '/Users/aron/GitRepos/PHPBroShop/broshop/brophp/libs/plugins/modifier.date_format.php';
?><?php echo $_smarty_tpl->getSubTemplate ("public/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

	
<div class="right">
	<div class="now">
		<div class="now_l"></div>
		<div class="now_m"><?php echo $_smarty_tpl->tpl_vars['title']->value;?>
</div>
		<div class="now_r"></div>
		<div class="clear"></div>
	</div>
	<div class="search">
		<div class="fr searbox">
			<form method="get">
				<input type="hidden" name="m" value="comment" />
				商品名称：<input type="text" name="name" value="<?php echo $_GET['name'];?>
" class="inputtext inputtext_150" />
				评价详情：<input type="text" name="content" value="<?php echo $_GET['content'];?>
" class="inputtext inputtext_150" />
				用户名：<input type="text" name="uname" value="<?php echo $_GET['uname'];?>
" class="inputtext inputtext_100" />
				<input type="submit" value="搜索" class="input2" />
			</form>
		</div>
		<div class="clear"></div>
	</div>
	<form method="post" id="form">
	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="list">
	<tr>
		<td class="bgtt" width="10"><input type="checkbox" name="checkall" onclick="bro_checkall(this, 'id')" /></td>
		<td class="bgtt" width="50">ID号</td>
		<td class="bgtt">评价详情</td>
		<td class="bgtt" width="100">用户名</td>
		<td class="bgtt" width="88">操作</td>
	</tr>


		<?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['data']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value){
$_smarty_tpl->tpl_vars['v']->_loop = true;
?>
		<tr>
			<td><input type="checkbox" name="id[]" value="<?php echo $_smarty_tpl->tpl_vars['v']->value['aid'];?>
" /></td>
			<td><?php echo $_smarty_tpl->tpl_vars['v']->value['aid'];?>
</td>
			<td class="aleft">
				<a href="<?php echo $_smarty_tpl->tpl_vars['root']->value;?>
/index.php?m=product&a=index&id=<?php echo $_smarty_tpl->tpl_vars['v']->value['pid'];?>
" target="_blank" class="fl mat3" style="border:1px solid #ddd"><img src="<?php echo thumb($_smarty_tpl->tpl_vars['v']->value['logo'],60,60);?>
" width="60" height="60"></a>
				<div class="fl" style="width:530px;margin-left:15px; display:inline;">
					<p><a href="<?php echo $_smarty_tpl->tpl_vars['root']->value;?>
/index.php?m=product&a=index&id=<?php echo $_smarty_tpl->tpl_vars['v']->value['pid'];?>
" target="_blank" class="cblue font14"><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
</a></p>
					<p class="c333 mat5 font13">[<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['v']->value['atime'],'%Y-%m-%d');?>
]评价：<?php echo $_smarty_tpl->tpl_vars['v']->value['content'];?>
</p>
				
				</div>
		</td>
		<td><a href="http://www.ip138.com/ips.asp?ip=<?php echo $_smarty_tpl->tpl_vars['v']->value['uip'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['v']->value['uname'];?>
</a></td>
		<td>
			<a href="<?php echo $_smarty_tpl->tpl_vars['url']->value;?>
&a=mod&id=<?php echo $_smarty_tpl->tpl_vars['v']->value['aid'];?>
" class="admin_edit mar3">修改</a>
			<a href="<?php echo $_smarty_tpl->tpl_vars['url']->value;?>
&a=del&id=<?php echo $_smarty_tpl->tpl_vars['v']->value['aid'];?>
" class="admin_del" onclick="return confirm('你确定要删除吗？')">删除</a>
		</td>
		</tr>
		<?php } ?>



		<tr>
		<td class="bgtt" align="center"><input type="checkbox" name="checkall" onclick="bro_checkall(this, 'id')" /></td>
		<td class="bgtt" colspan="4">
			<span class="fl"><button href="<?php echo $_smarty_tpl->tpl_vars['url']->value;?>
&a=del" onclick="return bro_cfall(this, 'id', 'form', '批量删除')">批量删除</button></span>
			<?php echo $_smarty_tpl->tpl_vars['fpage']->value;?>

		</td>
	</tr>
	</table>
	</form>
</div>
	

<?php echo $_smarty_tpl->getSubTemplate ("public/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
	
<?php }} ?>